package zyb.myproject;

import java.io.Serializable;

//管理员   只设置了一个管理员   账号 zhangyanbo 密码123456
public class Administrator implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 2785834476478537506L;
	String username;
	int password;
	String name;

	public Administrator(String username, int password, String name) {

		this.username = username;
		this.password = password;
		this.name = name;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public int getPassword() {
		return password;
	}

	public void setPassword(int password) {
		this.password = password;
	}

	@Override
	public String toString() {
		return "Administrator [username=" + username + ", password=" + password + "]";
	}

}
